﻿using System;
using System.Collections.Generic;

namespace NeGroid.ChampionshipManager.Core
{
	public class Player : BaseEntity
	{
		public string FirstName { get; set; }
		public string LastName { get; set; }
		public string MiddleName { get; set; }
        public int Number { get; set; }
		public DateTime BirthDate { get; set; }
        public int? TeamId { get; set; }

		public virtual Team Team { get; set; }
        public virtual ICollection<Goal> Goals { get; set; }
        public virtual ICollection<Goal> Assists { get; set; }
	}
}
